#ifndef CUSTOMTIMER_H
#define CUSTOMTIMER_H

#include <QObject>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <time.h>
#include <sys/timeb.h>
//#include <sys/select.h>
//#include <unistd.h>

class CustomTimer: public QObject
{
    Q_OBJECT
public:
    CustomTimer(QObject* parent=0);
    void start(long millisecond);

signals:
    void timeout();

private:

};

#endif // CUSTOMTIMER_H
